package cn.ibizlab.odoo.client.odoo_mail.feign;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.web.bind.annotation.*;
import cn.ibizlab.odoo.core.client.model.Imail_mail_statistics;
import cn.ibizlab.odoo.client.odoo_mail.model.mail_mail_statisticsImpl;
import cn.ibizlab.odoo.util.SearchContext;
/**
 * 实体[mail_mail_statistics] 服务对象接口
 */
public interface mail_mail_statisticsFeignClient {

    @RequestMapping(method = RequestMethod.DELETE, value = "/odoo_mail/mail_mail_statistics/{id}")
    public Boolean remove(@PathVariable("id") Integer id);


    @RequestMapping(method = RequestMethod.GET, value = "/odoo_mail/mail_mail_statistics/fetchdefault")
    public Page<mail_mail_statisticsImpl> fetchDefault(SearchContext context);


    @RequestMapping(method = RequestMethod.PUT, value = "/odoo_mail/mail_mail_statistics/updatebatch")
    public mail_mail_statisticsImpl updateBatch(@RequestBody List<mail_mail_statisticsImpl> mail_mail_statistics);


    @RequestMapping(method = RequestMethod.POST, value = "/odoo_mail/mail_mail_statistics")
    public mail_mail_statisticsImpl create(@RequestBody mail_mail_statisticsImpl mail_mail_statistics);


    @RequestMapping(method = RequestMethod.DELETE, value = "/odoo_mail/mail_mail_statistics/removebatch")
    public mail_mail_statisticsImpl removeBatch(@RequestBody List<mail_mail_statisticsImpl> mail_mail_statistics);


    @RequestMapping(method = RequestMethod.POST, value = "/odoo_mail/mail_mail_statistics/createbatch")
    public mail_mail_statisticsImpl createBatch(@RequestBody List<mail_mail_statisticsImpl> mail_mail_statistics);


    @RequestMapping(method = RequestMethod.PUT, value = "/odoo_mail/mail_mail_statistics/{id}")
    public mail_mail_statisticsImpl update(@PathVariable("id") Integer id,@RequestBody mail_mail_statisticsImpl mail_mail_statistics);


    @RequestMapping(method = RequestMethod.GET, value = "/odoo_mail/mail_mail_statistics/{id}")
    public mail_mail_statisticsImpl get(@PathVariable("id") Integer id);


    @RequestMapping(method = RequestMethod.GET, value = "/odoo_mail/mail_mail_statistics/select")
    public Page<mail_mail_statisticsImpl> select();


    @RequestMapping(method = RequestMethod.GET, value = "/odoo_mail/mail_mail_statistics/{id}/getdraft")
    public mail_mail_statisticsImpl getDraft(@PathVariable("id") Integer id,@RequestBody mail_mail_statisticsImpl mail_mail_statistics);



}
